
const routes = [
    {name:"Login",
        path:"/login",
        component: () => import('@/Login')
    },
    {name:"Index",
        path:"/index",
        component: () => import('@/index'),
        children:[
            {name:"Product",
                path:"/index/product",
                component: () => import('@/product/Product')
            },
            {name:"Order",
                path:"/index/order",
                component: () => import('@/order/order')
            },
            {name:"User",
                path:"/index/user",
                component: () => import('@/user/user')
            },
            {name:"Employee",
                path:"/index/em",
                component: () => import('@/employee/employee')
            },
        ]
    },
    {name:"Box",
        path:"/box",
        component: () => import('@/checkBoxTest')
    },

];
export default routes ;